﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" codefile="TopNew.ascx.vb" Inherits="NVPortal.Modules.NVNews.TopView" %>
<style type="text/css">
.NVNewsLasted_table {padding: 10px 5px; border-bottom: dotted 1px #aaaaaa;}    
.NVNewsLasted_IMG {background: none repeat scroll 0 0 white;
    border: 0 none;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
    padding: 0;
    width: 100px; }
.TopViewtitle {color: #434343;
    display: block;
    font-family: Times New Roman; font-size: 30px; padding-bottom: 10px; padding-top: 20px;
    text-shadow: 1px 1px 0 #ffffff;
    text-transform: uppercase;}    
.NVNewsLasted_Title, a.NVNewsLasted_Title:link {font-family: Arial; font-size: 12px; font-weight: bold; color: #252525; line-height: 110%;}    
a.NVNewsLasted_Title:visited {font-family: Arial; font-size: 12px; font-weight: bold; color: #000;}   
/*Gallery*/
.pcs-topnews {
	_background: #189766;
	padding: 2px;
	box-shadow: 0 0 5px #d9e1d3;
	margin-bottom: 16px;
}
.pcs-topnews .head2 {
	background: #20b87d url(/Portals/_default/Skins/HDTech/images/gallery-head-bg.png) 0 0 repeat-x;
	border-bottom: 2px solid #189766;
	padding: 11px 11px 9px;
	position: relative;
}
.pcs-topnews .head2 h3 .head{
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	text-shadow: 1px 1px 0 #23a774;
	margin-bottom: 0;
}
.pcs-topnews .head2 h3 {
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	text-shadow: 1px 1px 0 #23a774;
	margin-bottom: 0;
}
.pcs-topnews .gallery-box-content {
	background: #fff;
	padding: 11px;
	min-height: 140px;
	height: auto !important;
	height: 140px;
}
/*Gallery tabz*/
.pcs-topnews .head2 ul.switch {
	position: absolute;
	right: 12px;
	top: 8px;
}
.pcs-topnews .head2 ul.switch li {
	float: left;
	font-size: 10px;
	text-transform: uppercase;
}
.pcs-topnews .head2 ul.switch li a {
	display: inline-block;
	padding: 3px 10px;
	color: #cbe9cd;
}
.pcs-topnews .head2 ul.switch li a.selected {
	color: #fff;
	background: #12a66c;
	-moz-border-radius: 20px;
	-webkit-border-raius: 20px;
	border-radius: 20px;
	box-shadow: 1px 2px 3px #0f8d5c inset;
}
/*Gallery tabs*/
.pcs-topnews .tabs li {
	display: inline-block;
	padding-right: 7px;
	margin-right: 7px;
	border-right: 1px solid #adadad;
	line-height: 10px;
}
.pcs-topnews .tabs {
	margin-bottom: 8px;
}
.pcs-topnews .tabs li.last {
	border-right: 0;
}
.pcs-topnews .tabs a {
	color: #666;
}
.pcs-topnews .tabs a.selected {
	color: #EC7500;
}
/*Album*/
.pcs-topnews .feature-image {
	border: 1px solid #bdbdbd;
	background: #fff;
	padding: 4px;
	line-height: 0;
	border: 0 none;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
    padding: 0; width: 100px;
}
.pcs-topnews a .feature-image {
	opacity: 0.9;
}
.pcs-topnews a:hover .feature-image {
	border-color: #777;
	opacity: 1;
}
/*List4item*/
ul.list4item li {
	float: left;
	width: 12%;
	list-style-type: none;
	margin: 0 1%;
}
ul.list4item .row {
	margin-bottom: 6px;
}
/*List albums*/
#list-albums li {
	width: 12%;
	margin-right: 2%;
	float: left;
}
/*w-activity*/ 
</style>
<span class="TopViewtitle">Bài mới nhất</span>
<div class="pcs-topnews">
    <div id="imagesc" class="gallery-box-content">
        <div class="clear">
        </div>
        <div id="albums-wrap">
            <ul class="list4item">
                <asp:Repeater id="drgOtherNews" runat="server">
	                <ItemTemplate>
                        <li>
			                <div class="row">
                                <asp:Image ID="imgNews" CssClass="feature-image"  runat="server" ImageUrl ='<%# iif(DataBinder.Eval(Container, "DataItem.imagepath").tostring().Contains("http://"), DataBinder.Eval(Container, "DataItem.imagepath"), "/Portals/0/news/" & DataBinder.Eval(Container, "DataItem.imagepath"))  %>' AlternateText="" />   
                            </div>
                            <div class="row">
                                  <asp:HyperLink id='hplOtherNews' CssClass="NVNewsLasted_Title" runat="server" ToolTip='<%# Server.HtmlDecode(DataBinder.Eval(Container.DataItem,"summary"))%>' NavigateUrl='<%# FormatURL("c",DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>' text='<%# DataBinder.Eval(Container.DataItem,"title")%>'></asp:HyperLink><br />
			                </div>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
                </ul></div></div></div>